package chixing.day08._abstract.abstract_demo;

import chixing.day06.interited.SavingAccount;

public class AbstractDemo {
    public static void main(String[] args) {
        //instantiate 实例化 = 创建对象
        //instant 实例(对象)
        //Account account = new Account(); error 抽象类不能实例化
        SavingAccount savingAccount = new SavingAccount();
        //参数是抽象类的对象，其实参是一定是子类对象

    }
}
